<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<%@ page import="com.yzyz.bean.route.RouteGroupBean" %>
<%@ page import="com.yzyz.bean.route.RouteBean" %>
<%@ page import="com.yzyz.bean.region.RegionBean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="expires" content="0" /> 
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" />
<title>四川省中国青年旅行社 欢行旅游网-------四川旅游 国内游 出境游 九寨沟 峨眉山 稻城亚丁 西藏 丽江 香格里拉</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/Common/css/header.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/Index/index.css" />
</head>
<body>
	<!-- 容器开始 -->
	<div class="divMainContainer">
			<jsp:include page="/Common/jsp/header.jsp"></jsp:include>
				<!-- PPT容器开始 -->
				<div class="divPPTContainer">
					<div class="divPPTLeft">
						<script type="text/javascript">
							imgUrl1	="<%=request.getContextPath()%>/Index/images/01.jpg";
							imgtext1="${pptRoute1.name}";
							imgLink1="<%=request.getContextPath()%>/pptViewRoute.htm?routeId=${pptRoute1.id}";
							
							imgUrl2	="<%=request.getContextPath()%>/Index/images/02.jpg";
							imgtext2="${pptRoute2.name}";
							imgLink2="<%=request.getContextPath()%>/pptViewRoute.htm?routeId=${pptRoute2.id}";
							
							imgUrl3	="<%=request.getContextPath()%>/Index/images/03.jpg";
							imgtext3="${pptRoute3.name}";
							imgLink3="<%=request.getContextPath()%>/pptViewRoute.htm?routeId=${pptRoute3.id}";
							
							imgUrl4	="<%=request.getContextPath()%>/Index/images/04.jpg";
							imgtext4="${pptRoute4.name}";
							imgLink4="<%=request.getContextPath()%>/pptViewRoute.htm?routeId=${pptRoute4.id}";
							
							imgUrl5	="<%=request.getContextPath()%>/Index/images/05.jpg";
							imgtext5="${pptRoute5.name}";
							imgLink5="<%=request.getContextPath()%>/pptViewRoute.htm?routeId=${pptRoute5.id}";
							
							 var focus_width	=400;
							 var focus_height	=300;
							 var text_height	=18;
							 var swf_height 	= focus_height+text_height;
							 
							 var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5;
							 var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5;
							 var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5;
							
							 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" width="'+ focus_width +'" height="'+ swf_height +'">');
							 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="<%=request.getContextPath()%>/Index/images/focus1.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
							 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
							 document.write('<param name="flashvars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
							 document.write('<embed src="Index/images/focus1.swf" menu="false" wmode="opaque" allowscriptaccess="sameDomain" quality="high" bgcolor="#F0F0F0" menu="false" height="300" width="400" flashvars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+35+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>');
							 document.write('</object>');
						</script> 
					</div>
					<div class="divPPTRight">
						<div class="divSCRoutes">
							<div class="divSCTitle2">
								<div class="divIcon">
									&nbsp;
								</div>
								<div class="divSCTitleContents2">九寨沟旅游线路</div>
								<div class="divSCMore">
									<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${jiuzhaigouRoutes.id}" target="_blank">more>></a>
								</div>
							</div>
							<c:forEach var="route" items="${jiuzhaigouRoutes.routes}" begin="0" end="5">
								<div class="divSCRouteItem">
									<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${jiuzhaigouRoutes.id}" target="_blank">${route.name}</a></div>
									<div class="divSCRoutePrice">￥${route.price}</div>
								</div>
							</c:forEach>
						</div>
						<div class="divSCRoutes" style="margin-left:3px;">
							<div class="divSCTitle2">
								<div class="divIcon">
									&nbsp;
								</div>
								<div class="divSCTitleContents2">峨眉山旅游线路</div>
								<div class="divSCMore">
									<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${emeishanRoutes.id}" target="_blank">more>></a>
								</div>
							</div>
							<c:forEach var="route" items="${emeishanRoutes.routes}" begin="0" end="5">
								<div class="divSCRouteItem">
									<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${emeishanRoutes.id}" target="_blank">${route.name}</a></div>
									<div class="divSCRoutePrice">￥${route.price}</div>
								</div>
							</c:forEach>
						</div>
						<div class="divSCRoutes" style="margin-top:5px;">
							<div class="divSCTitle2">
								<div class="divIcon">
									&nbsp;
								</div>
								
								<div class="divSCTitleContents2">成都周边旅游线路</div>
								<div class="divSCMore">
									<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${hailuogouRoutes.id}" target="_blank">more>></a>
								</div>
							</div>
							<c:forEach var="route" items="${hailuogouRoutes.routes}" begin="0" end="5">
								<div class="divSCRouteItem">
									<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${hailuogouRoutes.id}" target="_blank">${route.name}</a></div>
									<div class="divSCRoutePrice">￥${route.price}</div>
								</div>
							</c:forEach>
						</div>
						<div class="divSCRoutes" style="margin-left:3px;margin-top:5px;">
							<div class="divSCTitle2">
								<div class="divIcon">
									&nbsp;
								</div>
								<div class="divSCTitleContents2">稻城/海螺沟/四姑娘山</div>
								<div class="divSCMore">
									<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${daochengyadingRoutes.id}" target="_blank">more>></a>
								</div>
							</div>
							<c:forEach var="route" items="${daochengyadingRoutes.routes}" begin="0" end="5">
								<div class="divSCRouteItem">
									<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${daochengyadingRoutes.id}" target="_blank">${route.name}</a></div>
									<div class="divSCRoutePrice">￥${route.price}</div>
								</div>
							</c:forEach>
						</div>
					</div>
				</div>
				<!-- PPT容器结束 -->
				<!-- NEWS容器结开始-->
				<div class="divRouteContainer" style="margin-top:5px;height:305px;">
					<div class="divNews">
						<div class="divNewsTitle">
							<div class="divNewsTitleIcon">&nbsp;</div>旅游资讯
						</div>
						<c:forEach var="news" items="${newsList}" begin="0" end="11">
							<div class="divSCRouteItem">
								<div class="divSCRouteName" style="width:100%;"><a href="<c:url value="/news.htm?newsId="/>${news.id}" target="_blank">${news.name}</a></div>
								
							</div>
						</c:forEach>
				
					</div>
					<div class="divTibetRoutes">
						<div class="divSCTitle4">
							<div class="divSCTitleContents">&nbsp;</div>
							<div class="divSCMore">
									&nbsp;
							</div>
						</div>
						<marquee align="bottom" height="250" behavior="scroll" loop="10000" direction="up" scrollamount="3" scrolldelay="100" onMouseOut="this.start()" onMouseOver="this.stop()">
							<c:forEach var="route" items="${scCommendedRoutes.routes}" begin="0" end="12">
								<div class="divSCRouteItem">
									<div class="divSCRouteName2"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${scCommendedRoutes.id}" target="_blank">${route.name}</a></div>
									<div class="divSCRoutePrice">￥${route.price}</div>
								</div>
							</c:forEach>
							<c:forEach var="route" items="${homeRoutes.routes}" begin="0" end="12">
								<div class="divSCRouteItem">
									<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${scCommendedRoutes.id}" target="_blank">${route.name}</a></div>
									<div class="divSCRoutePrice">￥${route.price}</div>
								</div>
							</c:forEach>
						</marquee>
					</div>
					
				</div>
			<!-- NEWS容器结束 -->
			<!-- 线路容器开始 -->
			<div class="divRouteContainer">
				<div class="divOverseaRoutes">
					<div class="divSCTitle">
						<div class="divIcon">
							&nbsp;
						</div>
						<div class="divSCTitleContents">出境游线路</div>
						<div class="divSCMore">
							<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${overseaRoutes.id}" target="_blank">more>></a>
						</div>
					</div>
					<c:forEach var="route" items="${overseaRoutes.routes}" end="7"  begin="0">
						<div class="divSCRouteItem">
							<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${overseaRoutes.id}" target="_blank">${route.name}</a></div>
							<div class="divSCRoutePrice">￥${route.price}</div>
						</div>
					</c:forEach>
				</div>
				
				<div class="divFreeRoutes" style="margin-top:5px;margin-left:5px;">
					<div class="divSCTitle">
						<div class="divIcon">
							&nbsp;
						</div>
						<div class="divSCTitleContents">自由行线路</div>
						<div class="divSCMore">
							<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${ziyouxingRoutes.id}" target="_blank">more>></a>
						</div>
					</div>
					<c:forEach var="route" items="${ziyouxingRoutes.routes}" begin="0" end="5">
						<div class="divSCRouteItem">
							<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${ziyouxingRoutes.id}" target="_blank">${route.name}</a></div>
							<div class="divSCRoutePrice" style="float:right;">￥${route.price}</div>
						</div>
					</c:forEach>
				</div>
				<div class="divFreeRoutes" style="margin-left:5px;margin-top:5px;">
					<div class="divSCTitle">
						<div class="divIcon">
							&nbsp;
						</div>
						<div class="divSCTitleContents">夕阳红/夏令营线路</div>
						<div class="divSCMore">
							<a href="<%=request.getContextPath()%>/viewMoreRoutes.htm?routeGroupId=${xiyanghongRoutes.id}" target="_blank">more>></a>
						</div>
					</div>
					<c:forEach var="route" items="${xiyanghongRoutes.routes}" begin="0" end="5">
						<div class="divSCRouteItem">
							<div class="divSCRouteName"><a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${xiyanghongRoutes.id}" target="_blank">${route.name}</a></div>
							<div class="divSCRoutePrice" style="float:right;">￥${route.price}</div>
						</div>
					</c:forEach>
				</div>
			</div>
			<!-- 线路容器结束 -->
			<!-- 容器开始 -->
			<div class="divScenicsContainer" style="margin-top:10px;">
				<div class="divSCScenics">
					<div class="divSCScenicsTitle">
						<div class="divIcon">
							&nbsp;
						</div>
						<div class="divSCTitleContents">四川著名景区</div>
						<div class="divSCMore">
							<a href="<%=request.getContextPath()%>/viewMoreScenics.htm?regionId=${scCommendedScenics.id}" target="_blank">more>></a>
						</div>
					</div>
					<c:forEach var="scenic" items="${scCommendedScenics.scenics}" begin="0" end="20">
						<div class="divScenicItem" style="width:130px;height:20px;text-align:center;float:left;over-flow:hidden;">
							<a href="<%=request.getContextPath()%>/scenic.htm?method=getInfoById&scenicId=<c:out value="${scenic.id}"/>" target="_blank" ><c:out value="${scenic.name}"/></a>
						</div>
					</c:forEach>
				</div>
			</div>
			<!-- 容器结束 -->
			<!-- 容器开始 -->
			<div class="divScenicsContainer" style="margin-top:10px;">
				<div class="divHomeScenics">
					<div class="divSCScenicsTitle">
						<div class="divIcon">
							&nbsp;
						</div>
						<div class="divSCTitleContents">国内著名景区</div>
						<div class="divSCMore">
							<a href="<%=request.getContextPath()%>/viewMoreScenics.htm?regionId=${homeCommennedScenics.id}" target="_blank">more>></a>
						</div>
					</div>
					<c:forEach var="scenic" items="${homeCommennedScenics.scenics}" begin="0" end="20">
						<div class="divScenicItem" style="width:130px;height:20px;text-align:center;float:left;over-flow:hidden;">
							<a href="<%=request.getContextPath()%>/scenic.htm?method=getInfoById&scenicId=<c:out value="${scenic.id}"/>" target="_blank" ><c:out value="${scenic.name}"/></a>
						</div>
					</c:forEach>
				</div>
			</div>
			<!-- 容器结束 -->
			<!-- 容器开始 -->
			<div class="divScenicsContainer" style="margin-top:10px;">
				<div class="divOverseaScenics">
					<div class="divSCScenicsTitle">
						<div class="divIcon">
							&nbsp;
						</div>
						<div class="divSCTitleContents">境外著名景区</div>
						<div class="divSCMore">
							<a href="<%=request.getContextPath()%>/viewMoreScenics.htm?regionId=${overseaScenics.id}" target="_blank">more>></a>
						</div>
					</div>
					<c:forEach var="scenic" items="${overseaScenics.scenics}" begin="0" end="20">
						<div class="divScenicItem" style="width:130px;height:20px;text-align:center;float:left;over-flow:hidden;">
							<a href="<%=request.getContextPath()%>/scenic.htm?method=getInfoById&scenicId=<c:out value="${scenic.id}"/>" target="_blank" ><c:out value="${scenic.name}"/></a>
						</div>
					</c:forEach>
				</div>
			</div>
			<!-- 容器结束 -->
		<jsp:include page="/Common/jsp/footer.jsp"></jsp:include>
	</div>
	<!-- 主容器结束-->
</body>
</html>